#include<stdio.h>
int check()
{
	union un
	{
		int i;
		char c;
	}u;
	 (u.i) = 1;
	 return u.c;
}
int main()
{
	int ret = check();
	if (ret == 1)
	{
		printf("小端存放");
	}
	if (ret == 0)
		printf("大端存放");

	return 0;
}